package page244;

public class Test2 {
    public static void main(String[] args){
        String s = "0123456789";
        System.out.println(s.charAt(0));
        System.out.println(s.charAt(s.length()-1));
    }
}
